<template>
	<div class="mine-container pd-T40">
        <myNavbar :title="title"></myNavbar>
		<list>
			<cell>
        <div style="width: 750px;padding-left: 20px;padding-right: 20px;box-sizing: border-box">
          <html :inner="content"></html>
        </div>
			</cell>
		</list>
	</div>
</template>
<script>
import { list, tag } from '../../../api/article';
import html from '../../../components/html/htmlTwo.vue'
import myNavbar from '../../../components/myNavbar/myNavbar.vue'
export default {
	data() {
		return {
			content: '',
			title: ''
		};
	},
	components: { html ,myNavbar},
	created() {
		let params = app.config.params
		this.title = params.title
		list({title:this.title}).then(res => {
			console.log(res)
			setTimeout(() => {
			  if (res.data.data.length>0){
          this.content = res.data.data[0].content
        }
			}, 100)
		})
		.catch(err => {
			console.log(err)
		})
	},
	methods: {}
};
</script>

<style scoped>
.page-navbar {
	width: 750px;
	height: 90px;
}
.page-navbar-title {
	color: #ffffff;
	font-size: 28px;
}
</style>
